package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class UserXxlJob {
    @XxlJob("UserJobHandler")
    public void UserJobHandler(){
        //定时任务逻辑
        XxlJobHelper.log("定时任务执行");
    }
}
